package com.fs.service.bo.price;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.time.LocalTime;

/**
 * @author : ppx
 * @date : 10:38 2021/3/8
 */
@Data
@Accessors(chain = true)
public class BoCreateRoomPriceParam {
    @Min(value = 1,message = "roomID必须大于0")
    private Integer roomId;

    @NotNull
    private Float price;

    @NotNull
    private LocalTime beginTime;

    @NotNull
    private LocalTime endTime;
}
